package com.kxn.multi.module.service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kxn.multi.module.service.base.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author kxn
 * @since 2023-04-18
 */
@Getter
@Setter
@TableName("admin_role")
@ApiModel(value = "AdminRole对象", description = "角色表")
public class AdminRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("创建者，当type=2，表示主账号创建的角色")
    private Integer userId;

    @ApiModelProperty("状态，1启用，0禁用")
    private Integer status;

    @ApiModelProperty("备注")
    private String note;


}
